package Java继承;

public class TestInheritance1 {
    public static void main(String[] args) {
        Student stu = new Student("S2025001", "张三", 85.5);

        stu.showBasicInfo();
        System.out.println("成绩：" + stu.getScore() + "分");
    }
}